package com.egglazy.Vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class GoodsVo {

    private String id;

    @Schema(description = "商品名称")
    private String name;

    @Schema(description = "商品图片URL")
    private String imageUrl;

    @Schema(description = "商品价格")
    private BigDecimal price;

    @Schema(description = "当前库存数量（实时更新）")
    private Integer currentStock;

    @Schema(description = "库存总量")
    private Integer totalStock;

    @Schema(description = " 授权状态：0-未授权，1-已授权")
    private Integer authorizationStatus;

    @Schema(description = "画师信息（仅同人商品展示）")
    private String artistInfo;

    @Schema(description = "原作（标签呈现）")
    private String originalWork;

    @Schema(description = "角色名（标签呈现）")
    private String characterName;

    @Schema(description = "标签")
    private String tags;

    @Schema(description = "卡片类型")
    private String cardType;

    @Schema(description = "故事文本")
    private String storyText;

    @Schema(description = "所属卡池（可选可不选）")
    private String cardPool;

    @Schema(description = "获取方式（可选可不选）")
    private String acquisitionMethod;

    @Schema(description = "文件格式（自动识别）")
    private String fileFormat;

    @Schema(description = "文件大小（自动识别,单位M）")
    private Double fileSize;

    @Schema(description = "上传时间")
    private Date uploadTime;

    @Schema(description = "上架时间")
    private Date onlineTime;

    @Schema(description = "下架时间")
    private Date offlineTime;

    @Schema(description = "推荐权重设置")
    private Integer recommendationWeight;

    @Schema(description = "商品分类id")
    private String categoryId;

    @Schema(description = "商品分类名称")
    private String categoryName;

    @Schema(description = "状态：0-删除，1-正常")
    private Integer status;

    @Schema(description = "更新时间")
    private Date updateTime;

    @Schema(description = "数据创建时间")
    private Date createTime;
}
